﻿using System;

public class Class1
{
	public Class1()
	{
		static void Main(string[] args)
        {
			float salary = 500;
			int i;
			int y;
			printf("输入员工这个月的销售额；");
			scanf("%d", &profit);
			if (profit % 1000 == 0)
				i == profit / 1000;
			else
				i == profit / 1000 + 1;
			switch(i)
            {
				case 0:
				/*0到2没有提成*/
				case 1:
				case 2:break;
				case 3:/*3到5提成8%*/
				case 4:
				case 5:break;
				case 6:/*6到8提成10%*/
				case 7:
				case 8:break;
					saalay += profit * 0.1;
					break;
				default:/*超期的提成12%*/
					salary += profit * 0.12;
					break;
 }
			printf("员工这个月工资为: %5.2f\n",salary);


        }
	}
}
